//
//  LBNormalCell.m
//  LBShowCase
//
//  Created by mac on 2024/6/29.
//

#import "LBNormalCell.h"

@interface LBNormalCell ()

@property (nonatomic, strong) UILabel *titleLabel;

@end

@implementation LBNormalCell

- (id)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier
{
    if (self = [super initWithStyle:style reuseIdentifier:reuseIdentifier]) {
        [self.contentView addSubview:self.titleLabel];
    }
    return self;
}

#pragma mark - lazy load

- (UILabel *)titleLabel
{
    if (!_titleLabel) {
        _titleLabel = [[UILabel alloc] initWithFrame:CGRectMake(10, 10, 300, 40)];
        _titleLabel.text = @"这是一个普通的cell";
        _titleLabel.textColor = [UIColor cyanColor];
        _titleLabel.font = [UIFont systemFontOfSize:25];
    }
    return _titleLabel;
}

@end
